package com.googlecode.c4e.api.model;

import java.util.List;

public class Server {

	private String url;
	private String id;
	private String label;
	private String username;
	private String password;
	private List<ProjectGroup> projectGroups;

	public void setUrl(String url) {
		this.url = url;
	}

	public String getUrl() {
		return url;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getId() {
		return id;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public String getLabel() {
		return label;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getUsername() {
		return username;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPassword() {
		return password;
	}

	public void setProjectGroups(List<ProjectGroup> projectGroups) {
		this.projectGroups = projectGroups;
	}

	public List<ProjectGroup> getProjectGroups() {
		return projectGroups;
	}

	public String toString() {
		return "Server " + label + " (" + url + ")";
	}
}
